FILEFIND.IS_ARCHIVE Function

Syntax

Flag as L = fileFindObj.Is_Archive()

Returns

FlagLogical

Returns .t. if the file is an archive (e.g., ,.ZIP file). Otherwise .f..

Description

The .IS_ARCHIVE() method returns .T. if the file is an archive file.

Example

dirs = FILEFIND.First("C:\aa\example\example.WebProjects\UX Controls.WebProject\*")

? dirs.name()
= "C:\aa\example\example.WebProjects\UX Controls.WebProject\panelnavigator.zip"

? dirs.is_archive()
= .T.

See Also